.text
.align 1
.global add
.type add, @function
add:
.BEGIN1:
	addi sp, sp, -32
	sd ra, 24(sp)
	sd s0, 16(sp)
	addi s0, sp, 32
	sw a0, -20(s0)
	sw a1, -24(s0)
.B1:
	lw t0, -20(s0)
	lw t1, -24(s0)
	add t0, t0, t1
	mv a0, t0
	j .END1
.END1:
	ld ra, 24(sp)
	ld s0, 16(sp)
	addi sp, sp, 32
	ret
.size add, .-add
.align 1
.global main
.type main, @function
main:
.BEGIN2:
	addi sp, sp, -32
	sd ra, 24(sp)
	sd s0, 16(sp)
	addi s0, sp, 32
.B2:
	li t0, 1
	sw t0, -20(s0)
	li t0, 2
	sw t0, -24(s0)
	lw t0, -20(s0)
	lw t1, -24(s0)
	mv a0, t0
	mv a1, t1
	call add
	mv t0, a0
	mv a0, t0
	j .END2
.END2:
	ld ra, 24(sp)
	ld s0, 16(sp)
	addi sp, sp, 32
	ret
.size main, .-main
